package com.conversationboard.fulltext.data;

import java.sql.Timestamp;
import java.util.Date;

public class MessageData {

	private int boardId;
	private int threadId;
	private int messageId;
	private String text;
	private String loginId;
	private String displayName;
	private Date timestamp;
	private boolean deleted;


	public MessageData(int boardId, int threadId, int messageId, String text, String loginId, String displayName, Timestamp timestamp, boolean deleted) {

		this.boardId = boardId;
		this.threadId = threadId;
		this.messageId = messageId;
		this.text = text;
		this.loginId = loginId;
		this.displayName = displayName;
		this.timestamp = timestamp;
		this.deleted = deleted;
	}


	public boolean isDeleted() {
		return deleted;
	}


	public void setDeleted(boolean deleted) {
		this.deleted = deleted;
	}


	public int getBoardId() {
		return boardId;
	}


	public void setBoardId(int boardId) {
		this.boardId = boardId;
	}


	public int getThreadId() {
		return threadId;
	}


	public void setThreadId(int threadId) {
		this.threadId = threadId;
	}


	public int getMessageId() {
		return messageId;
	}


	public void setMessageId(int messageId) {
		this.messageId = messageId;
	}


	public String getText() {
		return text;
	}


	public void setText(String text) {
		this.text = text;
	}


	public String getLoginId() {
		return loginId;
	}


	public void setLoginId(String loginId) {
		this.loginId = loginId;
	}


	public String getDisplayName() {
		return displayName;
	}


	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}


	public Date getTimestamp() {
		return timestamp;
	}


	public void setTimestamp(Date timestamp) {
		this.timestamp = timestamp;
	}

}
